interface R<T> {
  code: number;
  data: T;
  message: string;
}

interface PageParam {
  current: number | string;
  size: number | string;
  [key: string]: number | string;
}

interface PageResult<T> {
  current: number;
  pages: number;
  records: Array<T>;
  searchCount: boolean;
  size: number;
  total: number;
}